//
//  CustomTabBar.h
//  NotepadApp
//
//  Created by yobet on 2018/4/12.
//  Copyright © 2018年 HJ. All rights reserved.
//

#import <UIKit/UIKit.h>

@class CustomTabBar;
@protocol CustomTabBarDelegate <NSObject>

@optional
- (void)tabBar:(CustomTabBar *)tabBar didClickBtn:(NSInteger)index btn:(UIButton *)btn;

@end
@interface CustomTabBar : UIView
/** 选中的索引 */
@property (nonatomic, assign) NSInteger seletedIndex;

// 模型数组(UITabBarItem)
@property (nonatomic, strong) NSArray *items;
// 选中按钮颜色
@property (nonatomic, strong) UIColor * selectTitleColor;

@property (nonatomic,assign) BOOL seleIndex;

@property (nonatomic, weak) id<CustomTabBarDelegate> delegate;


@end


@interface TabBarButton : UIButton
/** 模型数据 */
@property (nonatomic, strong) UITabBarItem *item;
@end


@interface BXBadgeView : UIButton
/** 提醒数字 */
@property (nonatomic, copy) NSString *badgeValue;
@end
